
let imgURL = 'https://zhimao.shengdunyun.net/'
let baseURL = 'https://zhimao.shengdunyun.net/index.php/index'

if (process.env.NODE_ENV === 'development') {
  // 开发环境
  baseURL = 'https://zhimao.shengdunyun.net/index.php/index'
} else if (process.env.NODE_ENV === 'staging') {
  baseURL = 'https://zhimao.shengdunyun.net/index.php/index'
} else if (process.env.NODE_ENV === 'production') {
  // 生产环境
	imgURL = 'https://zhimao.shengdunyun.net/'
  baseURL = 'https://zhimao.shengdunyun.net/index.php/index'
}

const tokenKey = 'token'

module.exports = {
  baseURL: baseURL,
	imgURL:imgURL,
  tokenKey: tokenKey,
}
